# -*- coding: UTF-8 -*-
from django.core.exceptions import ValidationError
from django import forms
import pdb, re, json
import time
import datetime
from branch.models import *

class TestForm(forms.Form):
    pass

class NewDailyForm(forms.Form):
    token= forms.CharField(max_length=100)
    dailyType= forms.token= forms.CharField(max_length=100)
    dailyTime= forms.token= forms.CharField(max_length=100)
    dailyDate = forms.token= forms.CharField(max_length=100)
    position = forms.token= forms.CharField(max_length=100)
    topic= forms.token= forms.CharField(max_length=100)
    attention= forms.token= forms.CharField(max_length=100)
    participant= forms.token= forms.CharField(max_length=100)
    

class GetDailyListForm(forms.Form):
    token= forms.CharField(max_length=100)

class GetContectForm(forms.Form):
    token= forms.CharField(max_length=100)

class GetArticleForm(forms.Form):
    articleType = forms.CharField(max_length=100)

class DeleteDailyForm(forms.Form):
    token= forms.CharField(max_length=100)
    dailyId= forms.CharField(max_length=100)

class SaveArticleForm(forms.Form):
    articleTopic=forms.CharField(max_length=100)
    title=forms.CharField(max_length=500)
    imgsrc=forms.CharField(max_length=500)
    txtsrc=forms.CharField(max_length=500)
    preview=forms.CharField(max_length=500)

class SubmitThinkForm(forms.Form):
    token= forms.CharField(max_length=100)
    dailyId= forms.CharField(max_length=100)
    content = forms.CharField(max_length=300)

class GetSingleThinkForm(forms.Form):
    token= forms.CharField(max_length=100)
    dailyId= forms.CharField(max_length=100)

class CheckNotSubmitForm(forms.Form):
    dailyId= forms.CharField(max_length=100)
    branch= forms.CharField(max_length=100)

class GetThinksForm(forms.Form):
    dailyId= forms.CharField(max_length=100)
    branch= forms.CharField(max_length=100)

class SaveTestForm(forms.Form):
    question = forms.CharField(max_length=100)
    answer = forms.CharField(max_length=100)

class GetTestForm(forms.Form):
    token= forms.CharField(max_length=100)